﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace VueShopApi.Entities 
{
	/// <summary>
	/// 类型表
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "sp_type", DisableSyncStructure = true)]
	public partial class SpType 
	{
		/// <summary>
		/// 主键id
		/// </summary>
		[JsonProperty("type_id"), Column(Name = "type_id", IsPrimary = true, IsIdentity = true)]
		public int TypeId { get; set; }

		/// <summary>
		/// 删除时间标志
		/// </summary>
		[JsonProperty("delete_time"), Column(Name = "delete_time")]
		public int? DeleteTime { get; set; }

		/// <summary>
		/// 类型名称
		/// </summary>
		[JsonProperty("type_name"), Column(Name = "type_name", StringLength = 32, IsNullable = false)]
		public string TypeName { get; set; }

	}

}
